package com.czbgradefive.shop.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.czbgradefive.common.core.annotation.Excel;
import com.czbgradefive.common.core.web.domain.BaseEntity;

/**
 * 商品评价对象 mall_product_review_info
 *
 * @author czbgradefive
 * @date 2024-05-10
 */
public class MallProductReviewInfo extends BaseEntity
        {
private static final long serialVersionUID = 1L;

        /** ID */
        private Long id;

        /** 商品名称 */
                @Excel(name = "商品名称")
        private Long productId;

        /** 商品SKU */
                @Excel(name = "商品SKU")
        private Long productRuleCententId;

        /** 商品评价图片 */
                @Excel(name = "商品评价图片")
        private String reviewImages;

        /** 商品评价信息 */
                @Excel(name = "商品评价信息")
        private String content;

        /** 乐观锁 */
                @Excel(name = "乐观锁")
        private Long revision;

        public void setId(Long id)
        {
            this.id = id;
        }

        public Long getId()
        {
            return id;
        }
        public void setProductId(Long productId)
        {
            this.productId = productId;
        }

        public Long getProductId()
        {
            return productId;
        }
        public void setProductRuleCententId(Long productRuleCententId)
        {
            this.productRuleCententId = productRuleCententId;
        }

        public Long getProductRuleCententId()
        {
            return productRuleCententId;
        }
        public void setReviewImages(String reviewImages)
        {
            this.reviewImages = reviewImages;
        }

        public String getReviewImages()
        {
            return reviewImages;
        }
        public void setContent(String content)
        {
            this.content = content;
        }

        public String getContent()
        {
            return content;
        }
        public void setRevision(Long revision)
        {
            this.revision = revision;
        }

        public Long getRevision()
        {
            return revision;
        }

@Override
public String toString() {
    return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
        .append("id", getId())
        .append("productId", getProductId())
        .append("productRuleCententId", getProductRuleCententId())
        .append("reviewImages", getReviewImages())
        .append("content", getContent())
        .append("revision", getRevision())
        .append("createBy", getCreateBy())
        .append("createTime", getCreateTime())
        .append("updateBy", getUpdateBy())
        .append("updateTime", getUpdateTime())
            .toString();
}
}
